package com.oneonefive.trainticketsystem.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value ="ticket")
@JsonIgnoreProperties(value = "handler")
public class Ticket {
    @TableId
    private Integer ticketId;
    private Train train;
    private String coachNo;
    private String seatNo;
    private int sold;
}
